package com.tanhua.common.pojo;


import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("tb_question_user_lock")
public class UserLock extends BasePojo {
    private Long id ;
    private Long userId; //用户id
    private Long questionnaireId;//问卷id
    private Byte isLock; //对应锁状态 0解锁，1锁住
    @TableField(fill = FieldFill.INSERT)  //MP自动填充
    private Date created;
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date updated;
}
